package com.cloudfun.campusshare.common.model.vo;

import com.cloudfun.campusshare.common.constant.ApplicationResult;
import com.cloudfun.campusshare.common.constant.ApplicationStatus;
import com.cloudfun.campusshare.common.constant.ApplicationType;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * Created by Huqin on 2019/12/30
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@ApiModel(value = "申请信息")
public class ApplicationVO {

    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("申请类型")
    private ApplicationType type;

    @ApiModelProperty("业务Id")
    private String bizId;

    @ApiModelProperty("申请人id")
    private String applicantId;

    @ApiModelProperty("申请人姓名")
    private String applicantName;

    @ApiModelProperty("申请时间")
    private String applyTime;

    @ApiModelProperty("内容")
    private String content;

    @ApiModelProperty("状态")
    private ApplicationStatus status;

    @ApiModelProperty("结果")
    private ApplicationResult result;

    @ApiModelProperty("备注")
    private String remark;

    @ApiModelProperty("设备数量限制")
    private Integer deviceQuantityLimit;

    @ApiModelProperty("审核信息列表")
    private List<AuditVO> auditVoList;

    @ApiModelProperty("附件列表")
    private List<AttachVO> attachVOList;

}
